package demo.anno;

import java.lang.annotation.*;

@Documented
@Target(value={ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited//继承
public @interface MyAnnotation {

    String value() default "";

    String des() default "我是一个自定义注解";

}
